//
//  JSPatternEditView.h
//  JigSaw
//
//  Created by slim on 15/2/1.
//  Copyright (c) 2015年 LITB. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JSCircleButton.h"
/***************typedef block**************/
typedef void(^VOID_BLOCK_WITH_VOID)(void);
typedef void(^VOID_BLOCK_WITH_ID)(id);
typedef void(^VOID_BLOCK_WITH_INTEGER)(NSInteger integer);
typedef void(^VOID_BLOCK_WITH_STRING_STRING)(NSString * str1, NSString * str2);
typedef void(^VOID_BLOCK_WITH_BOOL)(BOOL b);
typedef void(^VOID_BLOCK_WITH_FLOAT)(float f);

@interface JSPatternEditView : UIView
@property(nonatomic, weak)IBOutlet UIButton* patternBtn0;
@property(nonatomic, weak)IBOutlet UIButton* patternBtn1;
@property(nonatomic, weak)IBOutlet UIButton* patternBtn2;
@property(nonatomic, weak)IBOutlet UIButton* patternBtn3;
@property(nonatomic, weak)IBOutlet UIButton* patternBtn4;
@property(nonatomic, weak)IBOutlet UIButton* patternBtn5;

@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn0;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn1;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn2;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn3;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn4;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn5;
@property(nonatomic, weak)IBOutlet JSCircleButton* colorBtn6;

@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn0Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn1Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn2Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn3Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn4Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn5Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_ID colorBtn6Blk;

@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn0Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn1Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn2Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn3Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn4Blk;
@property(nonatomic, copy)VOID_BLOCK_WITH_VOID patternBtn5Blk;

//@property(nonatomic, weak)UIButton* selectedPatternBtn;
@property(nonatomic, weak)JSCircleButton* selectedColorBtn;

- (void)resetColorButtons;

@end
